import React from 'react';
import ReactDOM from 'react-dom';

import store from './redux/store'
import MyApp from  './app';


function render(){
    ReactDOM.render(<MyApp store={store}/> , document.getElementById('root'));
};
render();

store.subscribe(render);

